SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edac62e8dbbfdc655857b8d0b415a5031c10f14a8d0d52e629c9af2cdcb7441a' 
  AND token = 'JvX1U7V/ab9ciLVdTL7h4BkJCzEss16IpT1EUaCl+/c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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