SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c138eedc476cfbb90c2d875548d950c9f6738e277a5c5da8b3195879f83e7179' 
  AND token = 'sG3E9Qd+SfgLlLXhYrVxNMbQ+eZcs8YEOy4Pgamcwpw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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