SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff50d60b921ae8a54803d25b349375117e867502712749de4f39df164410881b' 
  AND token = 'BJm4acmUw4a+0Lg6zMGbjfAiuAwG+QOLWeRo787wJtI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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