SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0d3e9f01b00f4e45903f5a085f2a93d1a7df84740e8e75c9a716f7f7794d61a' 
  AND token = 'YQqRwK5ukACiysofYj0hsTb/N3snl80z3pptbekvUUY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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