SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b814e3b29ff3d1a6706dee2cc773c4d64c0bae2f51f22e6285f595d7dffd0255' 
  AND token = 'iY9bejsNbNgvOYWNIPQ7Z/xthSvUhwsQigVMt6059vQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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