SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'affda5df4fafc49175244335c9fed8e8570a400c45d93f6f3f1f3bd9fa6f8af5' 
  AND token = 'CLxkGo5bY8ntdSnASmSWds9WWmQD1+SdBLMW9aFEKbc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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