SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f61f5e9dac5827fc94479a2a3e84d1f3f634616aacb35a0f61ac95cc8431147' 
  AND token = 'ekrLp/yOwMolARyI0+JyqJ7BejRAXVqRjVcsn3i5KTE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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