SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50bc676c12a8130c7aa0ffe796e41b7d8e8df1d10065b5e90aae612c2cabfa2f' 
  AND token = 'G4rvHLeB+vL5hSgvrk+tPyX95Gd7vXFtu+hzHioYdD8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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