SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd71134bcd550f2776ed4221fd2c3066c033802a18395a97cdbc086fd2718a758' 
  AND token = '2r7a4PCTAxlBrNogSpjQyGnPPf1lYMpHvArdhik1Og8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}