SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc461a6581cd472d1c8ee629b3dbb8d644e27793fac02345af70afe86cc8d009' 
  AND token = '8T4X4VPch2/iNXb+V6XAHFuodP5BktTBL7su9KcqJXY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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