SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50e1cbca90ac541622c4c85e90f64071dcbf5beabe9895ba2efeb909f8de0abc' 
  AND token = 'jUEOPOkE1QiFBwsaVDQyZIV17jB6l+Z8NBoHEPmnHoY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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