SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5665b5a23fa060443d02fd0c8b900f8186633b6eebf863b3c9d87aaa2603c998' 
  AND token = 'e7Cs5TxC0Wy5UtYct9j/1CGEt9E2AnssQlBZ2rknJ1w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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