SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20bea54d263512bf1ccfa79c0d5778f28e4b87060ba532005cecff35e3a2054a' 
  AND token = '6Qu9XKd0/Q7A4nQGl8gFBopq+yy325nY4Zbq12KhNME=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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