SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec5933c81e80f39822d7064ef2052182dc98dd6584f456b484a02929af3f24ed' 
  AND token = 'gfUjNX91Wu3EErn3ka+b3L8FxqIxEC8uXFm3/Bq/U30=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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