SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6cdc7f7e6e77c6fc2f0c21b0550db00602b8bba10b7d0b9d69ba515790e6abe3' 
  AND token = 'h8cWF+iEuADl+f3Mgf0SWSu7kYa5nm2A3a7jhqFmGT8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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