SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '05b11a54e9a60dd9a62adce916341f6fc183b7710ff80df66cf627309c78df70' 
  AND token = 'lYOHpT1o7z9jOK+6GIdDSDUgCueh0Vxo5fc5t6uMi6E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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