SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6aa7187ba765a56af2b9398af7d9f2bd490be560f9b18ba46569f1bfdceff38c' 
  AND token = 'UoBQ/kcDW9X/xm7NYkE0i7pOaCpVoAvAOxK4rdcL0Y8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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