SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30a9b97a25624ae3aed3cf3794115e66404458caf860e7ebc97bb2f785f04eb2' 
  AND token = 'RWr2FUFLfzQbYmtZbYjbYfqS8Pq8aSOOyD1UAaUkMo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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