SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b50faf848ea9a1523e202ab8ea2b8f09c5e766e847be9642ea73eb7d2dfcc132' 
  AND token = 'XCu6KGibt/fDgtUL5+ih7hELKzdp80FzwD3P8r5Y20c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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