SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff749afaff7a9203204aeb5f1c0f5ea2eda797dc2dfef1a016a4f65903a08340' 
  AND token = 'IBc+TEhgGBqmpELDcA/Ah9dkkVKsC04HPn1Zu0qRvi0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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